Fixed double opening of files when using -R on Windows

This commit is contained in:
heckflosse
2017-07-09 15:03:44 +02:00
parent 2dd23ec691
commit cbb95cfce6
2 changed files with 2 additions and 1 deletions

View File

@@ -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;

View File

@@ -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});