Fixed a annoyance in the various VCS status dialogs. 5_5_x

Fri, 31 Oct 2014 12:15:04 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 31 Oct 2014 12:15:04 +0100
branch
5_5_x
changeset 3896
5915df11b95e
parent 3894
5cbd92ad2dc0
child 3899
d7c695edb611

Fixed a annoyance in the various VCS status dialogs.
(grafted from 05a919adc36bc5a2d031394c05e99cfa1e0d00ea)

Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py file | annotate | diff | comparison | revisions
Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py file | annotate | diff | comparison | revisions
diff -r 5cbd92ad2dc0 -r 5915df11b95e Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py
--- a/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py	Thu Oct 30 19:05:40 2014 +0100
+++ b/Plugins/VcsPlugins/vcsMercurial/HgStatusDialog.py	Fri Oct 31 12:15:04 2014 +0100
@@ -630,7 +630,7 @@
             enable = False
         for act in self.lfActions:
             act.setEnabled(enable)
-        self.menu.popup(self.mapToGlobal(coord))
+        self.menu.popup(self.statusList.mapToGlobal(coord))
     
     def __showAddMenu(self):
         """
diff -r 5cbd92ad2dc0 -r 5915df11b95e Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py
--- a/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py	Thu Oct 30 19:05:40 2014 +0100
+++ b/Plugins/VcsPlugins/vcsPySvn/SvnStatusDialog.py	Fri Oct 31 12:15:04 2014 +0100
@@ -595,7 +595,7 @@
         
         @param coord the position of the mouse pointer (QPoint)
         """
-        self.menu.popup(self.mapToGlobal(coord))
+        self.menu.popup(self.statusList.mapToGlobal(coord))
         
     def __commit(self):
         """
diff -r 5cbd92ad2dc0 -r 5915df11b95e Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py
--- a/Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py	Thu Oct 30 19:05:40 2014 +0100
+++ b/Plugins/VcsPlugins/vcsSubversion/SvnStatusDialog.py	Fri Oct 31 12:15:04 2014 +0100
@@ -704,7 +704,7 @@
         
         @param coord the position of the mouse pointer (QPoint)
         """
-        self.menu.popup(self.mapToGlobal(coord))
+        self.menu.popup(self.statusList.mapToGlobal(coord))
         
     def __commit(self):
         """

eric ide

mercurial