Skip to content

Commit

Permalink
metadexdialog.cpp : fix switch market check
Browse files Browse the repository at this point in the history
  • Loading branch information
zathras-crypto committed Apr 9, 2015
1 parent a6f92fa commit 3439f37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/metadexdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ void MetaDExDialog::SwitchMarket()
return;
}
// check that the value is in range
if ((searchPropertyId > 0) && (searchPropertyId < 4294967290)) {
if ((searchPropertyId < 0) || (searchPropertyId > 4294967290)) {
QMessageBox::critical( this, "Unable to switch market",
"The property ID entered is outside the allowed range." );
return;
Expand Down

0 comments on commit 3439f37

Please sign in to comment.