disable navigation buttons on startup until server connected
This commit is contained in:
@@ -127,7 +127,9 @@ func (b *BrowsingPane) EnableNavigationButtons() {
|
||||
func (b *BrowsingPane) ActivateNavigationButton(num int) {
|
||||
if num < len(b.navBtnsContainer.Objects) {
|
||||
btn := b.navBtnsContainer.Objects[num].(*widget.Button)
|
||||
btn.OnTapped()
|
||||
if !btn.Disabled() {
|
||||
btn.OnTapped()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user