Skip to content

Commit e619546

Browse files
committed
Fix left mouse click in Database Switcher
1 parent 2d11e82 commit e619546

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

tcl/windows/switcher.tcl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -581,10 +581,9 @@ proc ::windows::switcher::releaseMouseEvent {fromBase x y {w .baseWin}} {
581581
if {! [string match "$w.c.f*" $dropPoint]} {return}
582582
regexp -all {[0-9]} $dropPoint toBase
583583
if {$toBase == $fromBase} {
584-
if {$::curr_db != $toBase} {
585-
::file::SwitchToBase $toBase
586-
} else {
587-
::windows::gamelist::makeVisible $toBase
584+
::file::SwitchToBase $toBase
585+
if {[sc_base numGames $toBase] > 0} {
586+
::game::Load 1
588587
}
589588
} else {
590589
::windows::gamelist::CopyGames "" $fromBase $toBase

0 commit comments

Comments
 (0)