about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaweł Jastrzębski <[email protected]>2014-01-17 16:19:54 +0100
committerPaweł Jastrzębski <[email protected]>2014-01-17 16:19:54 +0100
commitb46ada95964331e26c2a75c46289f37f708af640 (patch)
treebeda45101b6a24157a9d385dae3f846079a18b7d
parentUpdated Inno Setup (diff)
downloadkcc-b46ada95964331e26c2a75c46289f37f708af640.tar.gz
kcc-b46ada95964331e26c2a75c46289f37f708af640.tar.bz2
kcc-b46ada95964331e26c2a75c46289f37f708af640.zip
Drag & drop for OSX and Linux
-rw-r--r--kcc/KCC_gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kcc/KCC_gui.py b/kcc/KCC_gui.py
index ccb300b..afe4d7e 100644
--- a/kcc/KCC_gui.py
+++ b/kcc/KCC_gui.py
@@ -978,6 +978,8 @@ class KCCGUI(KCC_ui.Ui_KCC):
             message = urllib.parse.unquote(message.toString().replace('file:///', ''))
             if sys.platform.startswith('win'):
                 message = message.replace('/', '\\')
+            else:
+                message = '/' + message
             self.handleMessage(message)
 
     # noinspection PyArgumentList