Skip to content

Commit 9c27064

Browse files
committed
gui: init gui correctly without block
Signed-off-by: LucasYuki <[email protected]>
1 parent b577013 commit 9c27064

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/src/mainWindow.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1647,6 +1647,8 @@ void MainWindow::postReadDb(odb::dbDatabase* db)
16471647
}
16481648
auto block = chip->getBlock();
16491649
if (block == nullptr) {
1650+
// It is a top chip
1651+
emit chipLoaded(chip);
16501652
return;
16511653
}
16521654

0 commit comments

Comments
 (0)