/[thuban]/branches/WIP-pyshapelib-bramz/Thuban/UI/mainwindow.py
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/Thuban/UI/mainwindow.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1667 by bh, Thu Aug 28 10:21:05 2003 UTC revision 1695 by bh, Mon Sep 1 12:45:07 2003 UTC
# Line 509  class MainWindow(DockFrame): Line 509  class MainWindow(DockFrame):
509      def AddDBLayer(self):      def AddDBLayer(self):
510          """Add a layer read from a database"""          """Add a layer read from a database"""
511          session = self.application.Session()          session = self.application.Session()
512          dlg = ChooseDBTableDialog(self.application.Session(), self,-1, "")          dlg = ChooseDBTableDialog(self, self.application.Session())
513    
514          if dlg.ShowModal() == wxID_OK:          if dlg.ShowModal() == wxID_OK:
515              dbconn, dbtable = dlg.GetTable()              dbconn, dbtable = dlg.GetTable()

Legend:
Removed from v.1667  
changed lines
  Added in v.1695

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26