PDA

View Full Version : Consolidate 'Edit Test Init Data' and 'Create Test Init Data' buttons.



Asuna Yuuki Nagato
02-09-2024, 11:22 AM
Bring up the 'Test Quest' window via Quest->Test

The 'Edit Test Init Data' button appears to do nothing, until you've clicked the 'Create Test Init Data' button to bring up the 'Init Data' window. Then after that both buttons bring up the 'Init Data' window.

How about we merge these two buttons into one button and change the text caption from upon the first click?

Asuna Yuuki Nagato
03-15-2024, 12:44 PM
These buttons are created by TestQstDialog::view() in test_quest_dlg.cpp

Asuna Yuuki Nagato
04-14-2024, 05:56 PM
The cases that handle message::CREATE_INIT_DATA and message::EDIT_INIT_DATA are in TestQstDialog::handleMessage in test_quest_dlg.cpp