Skip to content

Commit 17c1fc2

Browse files
authored
Update extensions.cpp
1 parent 93066aa commit 17c1fc2

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

extensions_v5/extensions.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2074,10 +2074,10 @@ void WaveformAddDialog(void *) {
20742074

20752075
__attribute__((constructor))
20762076
void ExtensionsRegister() {
2077-
interfaceWindows.Add({ "Prof", ProfWindowCreate, ProfWindowUpdate, .alwaysUpdate = true });
2078-
interfaceWindows.Add({ "Memory", MemoryWindowCreate, MemoryWindowUpdate });
2079-
interfaceWindows.Add({ "View", ViewWindowCreate, ViewWindowUpdate });
2077+
interfaceWindows.Add({ .name = "Prof", .create = ProfWindowCreate, .update = ProfWindowUpdate, .alwaysUpdate = true });
2078+
interfaceWindows.Add({ .name = "Memory", .create = MemoryWindowCreate, .update = MemoryWindowUpdate });
2079+
interfaceWindows.Add({ .name = "View", .create = ViewWindowCreate, .update = ViewWindowUpdate });
20802080
interfaceDataViewers.Add({ "Add waveform...", WaveformAddDialog });
20812081
interfaceCommands.Add({ .label = nullptr,
2082-
{ .code = UI_KEYCODE_LETTER('V'), .ctrl = true, .shift = true, .invoke = ViewWindowView } });
2082+
.shortcut = { .code = UI_KEYCODE_LETTER('V'), .ctrl = true, .shift = true, .invoke = ViewWindowView } });
20832083
}

0 commit comments

Comments
 (0)