Fixed double opening of files when using -R on Windows
This commit is contained in:
@@ -359,6 +359,7 @@ extern Glib::ustring argv0;
|
||||
extern Glib::ustring argv1;
|
||||
extern bool simpleEditor;
|
||||
extern bool gimpPlugin;
|
||||
extern bool remote;
|
||||
extern Glib::ustring versionString;
|
||||
extern Glib::ustring paramFileExtension;
|
||||
|
||||
|
@@ -264,7 +264,7 @@ RTWindow::RTWindow ()
|
||||
|
||||
bpanel->init (this);
|
||||
|
||||
if (!argv1.empty()) {
|
||||
if (!argv1.empty() && !remote) {
|
||||
Thumbnail* thm = cacheMgr->getEntry(argv1);
|
||||
if (thm) {
|
||||
fpanel->fileCatalog->openRequested({thm});
|
||||
|
Reference in New Issue
Block a user