Ignore:
Timestamp:
06/18/17 18:25:18 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

It is possible to book a flight from the flight selection page too (re #304)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/flight.py

    r866 r869  
    511511        self.setMainWidget(mainBox)
    512512
     513        self._bookButton = self.addButton(xstr("flightsel_book"),
     514                                          sensitive = True,
     515                                          clicked = self._bookClicked,
     516                                          tooltip = xstr("flightsel_book_tooltip"))
     517
    513518        self._pendingButton = self.addButton(xstr("flightsel_pending"),
    514519                                             sensitive = False,
     
    606611        self._setupHelp()
    607612        self._updatePendingButton()
     613
     614    def _bookClicked(self, button):
     615        """Called when the Book flights button is clicked."""
     616        self._wizard.gui.showTimetable()
    608617
    609618    def _pendingClicked(self, button):
Note: See TracChangeset for help on using the changeset viewer.