Implement basic ammo switching context menu. (still needs much
polishing)
This commit is contained in:
@@ -107,6 +107,10 @@ class MainFrame(wx.Frame):
|
||||
view = self.fitMultiSwitch.GetPage(sel).view
|
||||
return view.activeFitID
|
||||
|
||||
def getFittingView(self):
|
||||
sel = self.fitMultiSwitch.GetSelection()
|
||||
return self.fitMultiSwitch.GetPage(sel).view
|
||||
|
||||
def mouseHit(self, event):
|
||||
tab, _ = self.notebookBrowsers.HitTest(event.Position)
|
||||
if tab != -1:
|
||||
|
||||
Reference in New Issue
Block a user