mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
IC: Sync axes between the two plots and minor change.
This commit is contained in:
1 parent
f3abb003f4
commit
240367fed1
4 files changed
+25
-6
No files matched your search
@@ -197,6 +197,8 @@ class LateralContributionWindow(ASubMainWindow, ListedSubWindow):
|
||||
else:
|
||||
self._table[tab].add(rows[0])
|
||||
|
||||
self._set_current_reach()
|
||||
|
||||
def delete(self):
|
||||
tab = self.current_tab()
|
||||
rows = self.index_selected_rows()
|
||||
@@ -204,34 +206,42 @@ class LateralContributionWindow(ASubMainWindow, ListedSubWindow):
|
||||
return
|
||||
|
||||
self._table[tab].delete(rows)
|
||||
self._set_current_reach()
|
||||
|
||||
def sort(self):
|
||||
tab = self.current_tab()
|
||||
self._table[tab].sort(False)
|
||||
self._set_current_reach()
|
||||
|
||||
def move_up(self):
|
||||
tab = self.current_tab()
|
||||
row = self.index_selected_row()
|
||||
self._table[tab].move_up(row)
|
||||
self._set_current_reach()
|
||||
|
||||
def move_down(self):
|
||||
tab = self.current_tab()
|
||||
row = self.index_selected_row()
|
||||
self._table[tab].move_down(row)
|
||||
self._set_current_reach()
|
||||
|
||||
def copy(self):
|
||||
print("TODO")
|
||||
self._set_current_reach()
|
||||
|
||||
def paste(self):
|
||||
print("TODO")
|
||||
self._set_current_reach()
|
||||
|
||||
def undo(self):
|
||||
tab = self.current_tab()
|
||||
self._table[tab].undo()
|
||||
self._set_current_reach()
|
||||
|
||||
def redo(self):
|
||||
tab = self.current_tab()
|
||||
self._table[tab].redo()
|
||||
self._set_current_reach()
|
||||
|
||||
def edit(self):
|
||||
tab = self.current_tab()
|
||||
|
||||
Reference in new issue
Block a user