mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Friction: Fix talbe translate.
This commit is contained in:
1 parent
ffebfbdddc
commit
95288e6eef
2 files changed
+10
-1
No files matched your search
@@ -51,7 +51,7 @@ from View.Frictions.Table import (
|
||||
from View.Plot.MplCanvas import MplCanvas
|
||||
from View.Geometry.PlotKPZ import PlotKPZ
|
||||
from View.Frictions.PlotStricklers import PlotStricklers
|
||||
from View.Frictions.translate import *
|
||||
from View.Frictions.translate import table_headers, retranslate
|
||||
|
||||
from View.Stricklers.Window import StricklersWindow
|
||||
|
||||
@@ -94,6 +94,7 @@ class FrictionsWindow(ASubMainWindow, ListedSubWindow):
|
||||
self.paste_sc = QShortcut(QKeySequence.Paste, self)
|
||||
|
||||
def setup_table(self):
|
||||
retranslate()
|
||||
self._table = {}
|
||||
|
||||
table = self.find(QTableView, f"tableView")
|
||||
|
||||
Reference in new issue
Block a user