Skip to content

Commit

Permalink
Fix: edit link
Browse files Browse the repository at this point in the history
  • Loading branch information
TechnoMag82 committed Sep 25, 2021
1 parent 5ad7905 commit b10b1c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addurl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void AddUrl::OkButton()
editWeburl->setFocus();
return;
}
if (linkStructure->isLinkExists(editWeburl->text())) {
if (editedRow == -1 && linkStructure->isLinkExists(editWeburl->text())) {
QMessageBox::warning(this,
tr("add Url"),
tr("Web-Link is exsists in DB!"),
Expand Down
2 changes: 1 addition & 1 deletion consts.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef CONSTS_H
#define CONSTS_H

const QString PROGRAM_NAME = "URLCollector v1.7";
const QString PROGRAM_NAME = "URLCollector v1.8";
const QString PROGRAM_DIR = "/.urlcol";
const QString PROGRAM_CONFIG = "/.urlcol/url.config";
const QString LOCK_FILE = "/.urlcol/url.lock";
Expand Down

0 comments on commit b10b1c4

Please sign in to comment.