mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
LC: Fix table translate.
This commit is contained in:
1 parent
ecefb39265
commit
f4545b0075
4 files changed
+27
-2
No files matched your search
@@ -41,7 +41,7 @@ from View.Plot.MplCanvas import MplCanvas
|
||||
from View.Plot.PamhyrToolbar import PamhyrPlotToolbar
|
||||
|
||||
from View.LateralContribution.translate import long_types
|
||||
from View.LateralContribution.Edit.translate import table_headers
|
||||
from View.LateralContribution.Edit.translate import table_headers, retranslate
|
||||
from View.LateralContribution.Edit.Table import TableModel
|
||||
from View.LateralContribution.Edit.Plot import Plot
|
||||
|
||||
@@ -87,6 +87,7 @@ class EditLateralContributionWindow(ASubMainWindow, ListedSubWindow):
|
||||
self.paste_sc = QShortcut(QKeySequence.Paste, self)
|
||||
|
||||
def setup_table(self):
|
||||
retranslate()
|
||||
headers = {}
|
||||
for h in self._data.header:
|
||||
headers[h] = table_headers[h]
|
||||
|
||||
Reference in new issue
Block a user